@extends('admin.base')
@section('content')
    <div class="layui-card">
        <div class="layui-card-header layuiadmin-card-header-auto">
            <h2>增加商品分类</h2>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="{{route('admin.cate.store')}}" method="post">
                {{csrf_field()}}
                <div class="layui-form-item">
                    <label for="" class="layui-form-label">分类名称</label>
                    <div class="layui-input-inline">
                        <textarea name="content" class="layui-textarea" cols="30" rows="6" lay-verify="required" placeholder="分类名称">{{old('content')}}</textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-submit="" lay-filter="formDemo">确 认</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
@endsection

@section('script')
    <style>
        .userBox{

        }
        .userBox li{
            display: inline-block;
            float: left;
            padding:10px 22px;
            color: #fff;
            border-radius: 4px;
            margin:0 10px 10px 0;
            position: relative;
        }
        .userBox li.li2{
            background-color: #009688;
        }
        .userBox li.li3{
            background-color: #393D49;
        }
        .userBox li i{
            display: block;
            width: 10px;
            height:10px;
            line-height: 10px;
            color: #fff;
            text-align: center;
            border:1px solid #fff;
            border-radius: 50%;
            position: absolute;
            top:2px;
            right: 2px;
            cursor: pointer;
        }
    </style>
@endsection